package com.logisticsrepair.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 维修用户
 * @TableName worker
 */
@TableName(value ="worker")
@Data
public class WorkerEntity implements Serializable {
    /**
     * 唯一用户标识
     */
    @TableId(value = "worker_openid")
    private String openid;

    /**
     * 昵称
     */
    @TableField(value = "worker_nickname")
    private String nickname;

    /**
     * 头像
     */
    @TableField(value = "worker_headimgurl")
    private String headimgurl;

    /**
     * 姓名
     */
    @TableField(value = "worker_name")
    private String workerName;

    /**
     * 手机号
     */
    @TableField(value = "worker_phone")
    private String workerPhone;

    /**
     * 邮件
     */
    @TableField(value = "worker_email")
    private String workerEmail;

    /**
     * 注册时间
     */
    @TableField(value = "worker_register_time")
    private String registerTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
